/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ruter.map;

import java.util.ArrayList;

/**
 *
 * @author camilo
 */
public class PathIntersection implements MapComponent {

	public ArrayList<PathSection> conectedPaths;

	public PathIntersection() {
		this.conectedPaths = new ArrayList<>();
	}

	/**
	 * This method is used to propagate the calculus of intersected drawing points
	 */
	public void calculateDrawingPoints() {
		for (int i = 0; i < conectedPaths.size(); i++) {
			this.conectedPaths.get(i).calculateDrawingPoints(false);
		}
	}

	@Override
	public double getX() {
		return 0;
	}

	@Override
	public double getY() {
		return 0;
	}

}
